# This file is part of chimaira-server.
# For copyright information, see AUTHORS.
#
# chimaira-server is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# chimaira-server is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with chimaira-server.  If not, see <http://www.gnu.org/licenses/>.

if AUTOSTART
autostartdir = /etc/xdg/autostart
autostart_DATA = chimaira-server.desktop
endif

manpagedir = $(datadir)/man/man1
manpage_DATA = chimaira-server.1

install-data-hook: mancompress

mancompress:
	gzip -f -n -9 $(DESTDIR)/$(datadir)/man/man1/chimaira-server.1

DISTCLEANFILES = Makefile.in
